#include "precompiled.hpp"
#include "parse.hpp"

int yyparse (void *);

void parse_context::parse()
{
	int res=yyparse(this);
	if (res!=0 || scanner_.has_more_chars())
		throw jam_exception("Can't parse file: '"+scanner_.get_fname()+"'!");
}
